﻿using System.Data.Entity.ModelConfiguration;
using yiCommerce.Core.Domain.Messges;
using yiCommerce.Core.Domain.PrivateMessages;

namespace yiCommerce.Data.Mapping.Messages
{
    public partial class MessageMapping : EntityTypeConfiguration<Message>
    {
        public MessageMapping()
        {
            this.ToTable("Message");
            this.HasKey(pm => pm.Id);
          
        }
    }
}
